/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package BL;

import BE.Recomendacion;
import DAO.RecomendacionDao;
import java.util.List;

/**
 *
 * @author CarLita
 */
public class RecomendacionBl {
    RecomendacionDao recomendacionDao;
    
    public RecomendacionBl(){
        recomendacionDao = new RecomendacionDao();
    }
    
    public boolean guardar(Recomendacion recomendacion){
        return recomendacionDao.guardar(recomendacion);
    }
    
    public Recomendacion buscarPorId(int idRecomendacion){
        return recomendacionDao.buscarPorId(idRecomendacion);
    }
    
    public List buscarPorCriterios(Recomendacion recomendacion){
        return recomendacionDao.buscarPorCriterios(recomendacion);        
    }
    
    public boolean eliminar(Recomendacion recomendacion){
        return recomendacionDao.eliminar(recomendacion);
    }
}
